<?php

declare(strict_types=1);

namespace App\Model;

use Hyperf\DbConnection\Model\Model;

/**
 * @property int $id 
 * @property int $node_type 
 * @property int $definition_id 
 * @property string $node_code 
 * @property string $node_name 
 * @property string $permission_flag 
 * @property string $node_ratio 
 * @property string $coordinate 
 * @property string $skip_any_node 
 * @property string $listener_type 
 * @property string $listener_path 
 * @property string $handler_type 
 * @property string $handler_path 
 * @property string $version 
 * @property string $create_time 
 * @property string $update_time 
 * @property string $del_flag 
 * @property string $tenant_id 
 */
class Node extends Model
{
    /**
     * The table associated with the model.
     */
    protected ?string $table = 'node';

    /**
     * The attributes that are mass assignable.
     */
    protected array $fillable = [];

    /**
     * The attributes that should be cast to native types.
     */
    protected array $casts = ['id' => 'integer', 'node_type' => 'integer', 'definition_id' => 'integer'];
}
